package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author hzd
 * @since 2024-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Bookkeeping对象", description="")
public class BookkeepingDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "做账日期")
    @TableField("bookkeeping_date")
    private String bookkeepingDate;

    @ApiModelProperty(value = "期号")
    @TableField("issue_number")
    private Integer issueNumber;


    @ApiModelProperty(value = "期号")
    @TableField("serial_number")
    private Integer serialNumber;


    @ApiModelProperty(value = "项目名称")
    @TableField("entry_name")
    private String entryName;

    @ApiModelProperty(value = "项目主体")
    @TableField("project_subject")
    private String projectSubject;

    @ApiModelProperty(value = "金额")
    @TableField("project_amount")
    private BigDecimal projectAmount;

    @ApiModelProperty(value = "金额")
    @TableField("project_amounts")
    private BigDecimal projectAmounts;

    @ApiModelProperty(value = "金额")
    @TableField("project_total")
    private BigDecimal projectTotal;

    @TableField("creator_time")
    private Date creatorTime;

    @TableField("creator_by")
    private String creatorBy;


}
